import { axios } from '@/utils/request'

export function getGoodsStockRecordPage(query) {  //门店库存列表
    return axios({
        url: '/yjsh/goodsstockrecord/getGoodsStockRecordPage',
        method: 'get',
        params: query
    })
}

export function getStockRecordDetailList(query) {  //门店库存流水
    return axios({
        url: '/yjsh/goodsstockrecord/getStockRecordDetailList',
        method: 'get',
        params: query
    })
}

export function shopgoodscategory(obj) {  //商品类目
    return axios({
      url: '/yjsh/shopgoodscategory/tree',
      method: 'post',
      data: obj
    })
  }